#ifndef QMYVIDEOWIDGET_H
#define QMYVIDEOWIDGET_H

#include <QWidget>
#include <QVideoWidget>
#include <QMediaPlayer>

class QmyVideoWidget : public QVideoWidget
{
    Q_OBJECT
public:
    QmyVideoWidget(QWidget *parent = Q_NULLPTR);
    void setMediaPlayer(QMediaPlayer *player);

private:
    QMediaPlayer *theplayer;
};

#endif // QMYVIDEOWIDGET_H
